var fs = require('fs'),
	gm = require('gm');

// resize and remove EXIF profile data
gm('./img/gui.png')
	.resize(240, 240)
	.noProfile()
	.write('./img/gui2.png', function (err) {
		if (!err) {
			console.log('done')
		}else{
			console.log(err)
		}

	});